﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;

namespace EntityFrameworkCore
{
  public interface  IUnitOfWork
    {

         string CreatInstance();

         DbContext GetInstance();


        string GetId();


         void BeginTran();
         void Commit();
    }
}
